const path = require('path')
module.exports = {
    devServer: {
      host: '0.0.0.0',
      port: '8087',
      open: true,
      proxy: {
        '/api': {
          target: 'http://localhost:8011',
          changeOrigin: true,
          pathRewrite:{
              "^/api":"/"
          }
        }
      }
    },
    css: {
      loaderOptions: {
        sass: {
          sassOptions: { outputStyle: "expanded" }
        }
      }
    }
  }